<template>
  <div class="h5-wrapper">
    <div class="content">
      <router-view></router-view>
    </div>
    <nav class="tabber">
      <router-link to="/article">面经</router-link>
      <router-link to="/like">喜欢</router-link>
      <router-link to="/collect">收藏</router-link>
      <router-link to="/user">我的</router-link>
    </nav>
  </div>
</template>

<script>
export default {
  name: 'LayoutPage'
}
</script>

<style>
body{
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
}
</style>
<style lang="less" scoped>
.h5-wrapper{
  .content{
    margin-bottom: 51px;
  }
  .tabber{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    height: 50px;
    line-height: 50px;
    text-align: center;
    display: flex;
    border-top: 1px solid #e4e4e4;
  }
  a{
    flex: 1;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    -webkit-tap-highlight-color: transparent;
    &.router-link-active{
      color: rgb(175, 110, 114);
  }
}
}
</style>
